package com.kgc.springboot.aviation.service.lvwenjia;

import com.github.pagehelper.PageInfo;
import com.kgc.springboot.aviation.pojo.Clause;

/**
 * @author shkstart
 * @create 2020-12-29 15:16
 */
public interface ClauseService {
    //分页
    PageInfo<Clause> selectClause(Integer lawsId, String clauseId, String keyword, int pageIndex);
    //删除
    int delClauseById(Integer id);
    //添加
    int insertClause(Clause clause);
    //修改
    int updateClause(Clause clause);
    //通过id查询条款
    Clause selectClauseById(Integer id);
    //通过目录id查询条款
    Clause getAll(Integer catalogId);

}
